package kandao.model_design.create.factory_method.factory;

import kandao.model_design.create.factory_method.buttons.Button;
import kandao.model_design.create.factory_method.buttons.WindowsButton;

/**
 * @author hll
 * 2023/5/4
 * 描述 另一个具体创建者
 **/
public class WindowsDialog extends Dialog {

    @Override
    public Button createButton() {
        return new WindowsButton();
    }
}